package zzjson.utils;

import java.util.ResourceBundle;

/**
 * <p>****************************************************************************</p>
 * <p><b>Copyright © 2010-2019 shuncom team All Rights Reserved<b></p>
 * <ul style="margin:15px;">
 * <li>Description : com.zzjson.utils</li>
 * <li>Version     : 1.0.0</li>
 * <li>Creation    : 2019年04月25日</li>
 * <li>@author     : zzy0_0</li>
 * </ul>
 * <p>****************************************************************************</p>
 */
public class ResourcesUtil {
	public static ResourceBundle resourceBundle = ResourceBundle.getBundle("config");

	public static String getKey(String key) {
		String string = resourceBundle.getString(key);
		return string;
	}

	public static void main(String[] args) {
		System.out.println(resourceBundle.getString("rabbitmq.uri"));
	}

}